package com.itjianren.employeemanagementsystem.service;

import com.itjianren.employeemanagementsystem.dto.EmployeeQueryDTO;
import com.itjianren.employeemanagementsystem.dto.PageResult;
import com.itjianren.employeemanagementsystem.model.Employee;
import java.util.List;

public interface EmployeeService {
    List<Employee> findAll();
    Employee findById(Integer id);
    void insert(Employee employee);
    void update(Employee employee);
    void delete(Integer id);
    PageResult<Employee> findByCondition(EmployeeQueryDTO queryDTO);
}
